import 'package:flutter/material.dart';

/*
* 1 账户管理、
* 2 消息通知
* 3 隐私管理
* 4 应用管理
* 5 便捷性设置
*/
class Setting extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return new Scaffold(
      appBar: new AppBar(
        title: new Text('设置'),
      ),
      body: new Container(
        padding: const EdgeInsets.all(10.0),
        child: new ListView(
          children: <Widget>[
            new ListTile(leading: new Icon(Icons.account_circle,color: Colors.lightBlue,),title: new Text('账户管理'),onTap: (){},),
            new Divider(),
            new ListTile(leading: new Icon(Icons.message,color: Colors.lightBlue,),title: new Text('通知管理'),onTap: (){},),
            new Divider(),
            new ListTile(leading: new Icon(Icons.lock,color: Colors.lightBlue,),title: new Text('隐私管理'),onTap: (){},),
            new Divider(),
            new ListTile(leading: new Icon(Icons.insert_emoticon,color: Colors.lightBlue,),title: new Text('便捷性设置'),onTap: (){},),
            new Divider(),
            new ListTile(leading: new Icon(Icons.cached,color: Colors.lightBlue,),title: new Text('清理缓存'),onTap: (){},),
            new ListTile(leading: new Icon(Icons.update,color: Colors.lightBlue,),title: new Text('检测新版本'),onTap: (){},),
            new ListTile(leading: new Icon(Icons.announcement,color: Colors.lightBlue,),title: new Text('关于Demo'),onTap: (){},),
            new Divider(),
            new Container(
              alignment: Alignment.center,
              child: new RaisedButton(
                onPressed: () {},
                color: Colors.red,
                child: new Text('退出登录'),
              ),
            ),
          ],
        ),
      ),
    );
  }
}
